<?php
Yii::import('system.web.widgets.pagers.CLinkPager');
class AuctionPoolPager extends CLinkPager{	
	protected function createPageButton($label,$page,$class,$hidden,$selected)
	{
		
		$linkHtml = null;
		if ($selected) {
			$class .= ' '.$this->selectedPageCssClass;
		}
		if ($hidden) {
			$linkHtml = CHtml::tag('span',array('class' => 'page-link-disabled'),$label);
		}else{
			$linkHtml = CHtml::link($label,$this->createPageUrl($page));
		}
		return '<li class="'.$class.'">'.$linkHtml.'</li>';
	}
	
}